package com.jrx.anytxn.transaction.dto.loan;

import com.jrx.anytxn.transaction.dto.common.CommonReq;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

public class RecordGlInterfaceReq extends CommonReq {

    @ApiModelProperty(value = "客户订单id",required = true)
    @Size(max=32, message = "客户订单id不能超过32位")
    @NotEmpty(message = "客户订单id不可空")
    private String loanId;

    @ApiModelProperty(value = "交易码",required = true)
    @Size(max=6, message = "交易码不能超过6位")
    @NotEmpty(message = "交易码不可空")
    private String transactionCode;

    @ApiModelProperty(value = "金额",required = true)
    private BigDecimal amount;

    @ApiModelProperty(value = "类型",required = true)
    private String transactionType;

    @ApiModelProperty(value = "商户id")
    private String merchantId;

    @ApiModelProperty(value = "商户名称")
    private String merchantName;

    public String getLoanId() {
        return loanId;
    }

    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }

    public String getTransactionCode() {
        return transactionCode;
    }

    public void setTransactionCode(String transactionCode) {
        this.transactionCode = transactionCode;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }
}
